/*
 * @Author: wei_jt@ecidi.com
 * @Date: 2020-06-24 16:46:45
 * @LastEditors: wei_jt@ecidi.com
 * @LastEditTime: 2020-07-24 10:28:10
 * @Description: file content
 */

export function isCustomFlow(data, prefix) {
  let flag = false
  if (data) {
    //判断是否以存在自由流程prefix
    if (data.match(new RegExp(`^${prefix}.*$`))) {
      flag = true
    }
  }
  return flag
}
